package com.ruoyi.system.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.SysUserTest;
import com.ruoyi.common.bean.user.SysUserTestBean;

/**
 * 测试业务Mapper接口
 * 
 * @author rakic
 * @date 2024-01-21
 */
public interface SysUserTestMapper extends BaseMapper<SysUserTest>
{
    /**
     * 查询测试业务
     * 
     * @param testId 测试业务主键
     * @return 测试业务
     */
    public SysUserTestBean selectSysUserTestByTestId(Long testId);

    /**
     * 查询测试业务列表
     * 
     * @param sysUserTestBean 测试业务
     * @return 测试业务集合
     */
    public List<SysUserTestBean> selectSysUserTestList(SysUserTestBean sysUserTestBean);

    /**
     * 新增测试业务
     * 
     * @param sysUserTest 测试业务
     * @return 结果
     */
    public int insertSysUserTest(SysUserTest sysUserTest);

    /**
     * 修改测试业务
     * 
     * @param sysUserTest 测试业务
     * @return 结果
     */
    public int updateSysUserTest(SysUserTest sysUserTest);

    /**
     * 删除测试业务
     * 
     * @param testId 测试业务主键
     * @return 结果
     */
    public int deleteSysUserTestByTestId(Long testId);

    /**
     * 批量删除测试业务
     * 
     * @param testIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysUserTestByTestIds(Long[] testIds);
}
